+2007-07-01 Johan Dahlin <jdahlin@async.com.br>
+
+ * gtk/tmpl/gtkbuilder.sgml:
+ * gtk/tmpl/gtkexpander.sgml:
+ * gtk/tmpl/gtkframe.sgml:
+ * gtk/tmpl/gtknotebook.sgml:
+ * gtk/tmpl/gtktreemodel.sgml: Improve GtkBuilder DTD,
+ remove treemodel section, add more information about
+ container subclasses child attributes. #452954
+
2007-07-01 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/*.sgml: Document GtkBuilder ui definitions.
<!ELEMENT child (object|ANY*) >
<!ATTLIST interface domain #IMPLIED >
-<!ATTLIST object class #REQUIRED
+<!ATTLIST object id #REQUIRED
+ class #IMPLIED
type-func #IMPLIED
- id #IMPLIED
constructor #IMPLIED >
<!ATTLIST property name #REQUIRED
translatable #IMPLIED >
<!ATTLIST signal name #REQUIRED
handler #REQUIRED
after #IMPLIED
+ swapped #IMPLIED
object #IMPLIED >
<!ATTLIST child type #IMPLIED
internal-child #IMPLIED >
The GtkExpander implementation of the GtkBuildable interface
supports placing a child in the label position by specifying
"label" as the "type" attribute of a <child> element.
+A normal content child can be specified without specifying
+a <child> type attribute.
</para>
<example>
<title>A UI definition fragment with GtkExpander</title>
The GtkFrame implementation of the GtkBuildable interface
supports placing a child in the label position by specifying
"label" as the "type" attribute of a <child> element.
+A normal content child can be specified without specifying
+a <child> type attribute.
</para>
<example>
<title>A UI definition fragment with GtkFrame</title>
<para>
The GtkNoteboopk implementation of the GtkBuildable interface
supports placing children into tabs by specifying "tab" as the
-"type" attribbute of a <child> element. Note that the content
+"type" attribute of a <child> element. Note that the content
of the tab must be created before the tab can be filled.
+A tab child can be specified without specifying a <child>
+type attribute.
</para>
<example>
<title>A UI definition fragment with GtkNotebook</title>
</example>
</para>
-<refsect2 id="GtkTreeModel-BUILDER-UI">
-<title>GtkTreeModel as GtkBuildable</title>
-<para>
-The GtkTreeStore implementation of the GtkBuildable interface allows
-to specify the model columns with a <columns> element that may
-contain multiple <column> elements, each specifying one model
-column. The "type" attribute specifies the data type for the column.
-</para>
-<example>
-<title>A UI definition fragment with GtkTreeStore</title>
-<programlisting><![CDATA[
-<object class="GtkTreeStore">
- <columns>
- <column type="gchararray"/>
- <column type="guint"/>
- </columns>
-</object>
-]]></programlisting>
-</example>
-</refsect2>
-
<!-- ##### SECTION See_Also ##### -->
<para>
#GtkTreeView, #GtkTreeStore, #GtkListStore, <link linkend="gtk-GtkTreeView-drag-and-drop">GtkTreeDnd</link>, #GtkTreeSortable